Approach to provide high external voltage for flash memory erase

ABSTRACT

In this invention external high voltages are connected to a chip containing a flash memory that are connected to selected cells to be erased. Internal pump circuits contained on the chip are turned off while the external voltages are used. The external voltages, a high negative voltage and a high positive voltage, are connected to gates and sources respectively of selected cells to be erased by a voltage control module. The external voltages are used during manufacture during program/erase operations to perform the erase function efficiently. The internal high voltage pump circuits are used to erase flash memory cells after being assembled on a circuit board by a user. Two level shifter circuits are disclosed that form a part of the voltage control module. The level shifter circuits apply voltages to the flash memory cells and provide voltages that select and deselect the cells for erasure.

This is a division of patent application Ser. No. 09/377,545, filing date Aug. 19, 1999, U.S. Pat. No. 6,166,961, A Novel Approach To Provide High External Voltage For Flash Memory Erase, assigned to the same assignee as the present invention.

BACKGROUND OF THE INVENTION

1. Field of Invention

This invention relates to semiconductor memories, in particular flash memories and providing voltages for erase operations.

2. Description of Related Art

In conventional flash memories both a high negative and a high positive voltage are required to erase data in flash memory cells. The high negative voltage is applied to the gate of the flash cell being erased and the high positive voltage is applied to the source. The drain is usually left floating. This requires that both a positive pump circuit and a negative pump circuit exist on the flash memory chip if the flash memory cells are to be erased after assembly. There are several problems that must be handled when two pump circuits of opposite polarity are on the same chip. Besides increase in chip power, considerable protection circuitry and guarding methodology are required to isolate the pump circuitry and avoid device breakdown.

Using internal pump circuits to perform erasure of flash memory cells is a somewhat slow process since it takes time for the pump circuits to get to the required voltage after being activated. For this reason it is advantageous to programming and erasure during manufacture to provide high negative and high positive voltages to chip pads from external to the chip, thus speeding up the programming process. In the manufacture of flash memory cells providing an external high positive voltage has been known for some time; however, because of the difficulties of handling a high negative voltage, external supplied high negative voltages have not been previously used. By providing an externally applied high negative voltage along with an externally applied high positive voltage to a chip containing a flash memory shorter erase/program, lower power consumption and faster throughput can be realized.

SUMMARY OF THE INVENTION

In this invention a method and circuitry are disclosed that allow a high negative voltage and a high positive voltage to be applied to flash memory cells being erased from external to the chip containing the flash memory cells with or without high negative voltage and high positive voltage pump circuits. The high negative voltage and the high positive voltage are connected to the chip through chip pads and are used during manufacture to erase and program the chip. If erasure and programming of flash memory cells is not required after assembly the high positive and high negative voltage pump circuits are not implemented on the chip, and the high voltage and high positive voltage chip pads are the only source of voltages for flash memory cell erasure.

If the chip containing flash memory cells has high negative and high positive voltage pump circuits, the chips can be erased/programmed by a user after assembly. In this case the external high negative and high positive voltages are connected in parallel to the output of the corresponding pump circuits, and the pump circuits are controlled off when the external high voltages are to be used. The external high voltages are used before assembly during manufacture to shorten erase/ program time, lower power consumption and increase manufacturing throughput. After assembly no external voltages are connected to the high negative and high positive voltage pads, and the internal pump circuits must be used if the flash memory cells are to be erased/programmed by a user.

A high negative voltage level shifter circuit using NMOS transistors in a P-well inside a deep N-well on a P-substrate provides select and deselect bias for gates of flash memory cells. To avoid forward biasing P-N junctions when a high negative voltage is applied to a gate of a cell being erased, a triple well comprising a P-well inside a deep N-well on a P-substrate is used for the NMOS transistors. The negative voltage level shifter circuit provides a high negative voltage to the gate of a flash memory cell being erased and a moderate positive voltage to the gate of a cell not being erased.

The high negative voltage level shifter forms a part of a voltage control module located on the chip containing a flash memory. Control signals connected to the control module provide commands that direct the output state of the high negative voltage level shifter between a high negative voltage to select flash memory cells for erasure and a moderate positive voltage to deselect the flash memory cells from erasure. The level shifter comprises a cross coupled pair of N-channel transistors that provide two operating states. A voltage selector circuit comprising two P-channel transistors is connected to the cross coupled pair of N-channel transistors through a bias buffer circuit to select one of the two operating states. The voltage selector circuit is switched between two input voltages which switches the cross coupled pair of N-channel transistors between two states and drives the differential circuit to switch between a high negative voltage to select the gate of a flash memory cell for erasure and a moderate positive voltage that deselects the gate of a flash memory cell from the erase operation.

Similar to the high negative voltage level shifter, a high positive voltage level shifter provides a high positive voltage to the source of a flash memory cell being erased and a moderate positive voltage to the source of a flash memory cell being deselected from the erase operation. The high positive voltage level shifter circuit uses PMOS transistors in an N-weEl on a P-substrate and provides select and deselect bias for sources of flash memory cells. To avoid forward biasing P/N junctions when a high positive voltage is applied to a gate of a cell being erased the P-channel transistors are contained in an N-well. The positive voltage level shifter circuit provides a high positive voltage to the source of a flash memory cell being erased and a moderate positive voltage to the source of a cell not being erased.

The high positive voltage level shifter forms a part of a voltage control module located on the chip containing a flash memory. Control signals connected to the control module provide commands that direct the output state of the high positive voltage level shifter between a high positive voltage to select flash memory cells for erasure and a moderate positive voltage to deselect the flash memory cells from erasure. The level shifter comprises a cross coupled pair of P-channel transistors that provide two operating states. A voltage selector circuit comprising two N-channel transistors is connected to the cross coupled pair of P-channel transistors through a bias buffer circuit to select one of the two operating states. The voltage selector circuit is switched between two input voltages which switches the cross coupled pair of P-channel transistors between two states and drives the differential circuit to switch between a high positive voltage to select the source of a flash memory cell for erasure and a moderate positive voltage that deselects the source of a flash memory cell from the erase operation.

It is possible to provide the erase function for flash memory cells with only one voltage requiring a pump circuit or an external chip pad. This can be done through voltage rotation by adding a negative voltage to the high positive gate erase voltage so that the source erase voltage becomes the chip positive bias voltage. Then adding this same negative voltage to the high negative gate voltage and to the semiconductor bulk with the drain remaining floating. This voltage rotation eliminates the need for the high positive source voltage and in turn eliminates the need for the high positive voltage pump circuit.

BRIEF DESCRIPTION OF THE DRAWINGS

This invention will be described with reference to the accompanying drawings, wherein:

FIG. 1a is a diagram of a flash memory cell of prior art with bias for an erase operation,

FIG. 1b is a basic diagram showing chip voltages of prior art,

FIG. 2 is a diagram showing a flash memory chip voltages,

FIG. 3 is a block diagram showing interconnection of pump circuits and external voltages to a voltage control module on a flash memory chip,

FIG. 4a is a circuit diagram of a level shifter that provides a high negative voltage to a gate of a flash memory cell to be erased,

FIG. 4b is a circuit diagram of a level shifter that provides a high positive voltage to a source of a flash memory cell to be erased, and

FIG. 5 is a flow diagram for the method of using external voltages to erase a flash memory cell during manufacture.

ETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In FIG. 1 a is shown an example of a flash memory cell of prior art biased to be erased using a high negative voltage. The control gate, G, is biased to a high negative voltage Vnn. An example of the high negative voltages is shown at approximately −8.5V. The source, S, is biased to a high positive voltage Vpp that is higher than the chip bias Vdd. An example of Vpp is shown at approximately +5V. The drain, D, is floating and the semiconductor bulk, B, is at 0V. To satisfy the voltage conditions shown in FIG. 1a, two high voltages are required to be provided by either or both external chip pads and internal voltage pump circuits on the flash memory chip. In FIG. 1b is shown a basic diagram of prior art of a chip and connected external voltages to power a flash memory chip. Vdd and Vss are chip bias voltages with Vpp being a high positive voltage necessary to provide bias to a source of a flash memory cell being erased. The Vnn voltage shown in FIG. 1a is created by using an internal pump circuit on the flash memory chip.

In FIG. 2 is shown a basic diagram of external chip voltages connected to a flash memory chip of this invention. Besides the normal flash memory chip voltages Vdd and Vss, a high positive voltage Vpp and a high negative voltage Vnn are connected to the chip. Vnn and Vpp provide external voltages to efficiently erase flash memory cells during programming and erase operations during manufacturing operations. In FIG. 3 is shown a block diagram of connections of the external Vpp 10 and Vnn 11 chip pad connections along with internal pump circuits 12 and 13. The positive external voltage Vpp is connected to the chip pad 10 and further connected in parallel with the output of the positive pump circuit 13 to the voltage control module 14. The negative external voltage Vnn is connected to the chip pad 11 and further connected in parallel with the output of the negative pump circuit 12 to the voltage control module 14. Chip bias voltages Vdd and Vss are connected to power the negative pump circuit 12 and the positive pump circuit 13. Chip bias voltages Vdd and Vss are also supplied to the voltage module 14. A set of selector signals, S(0) to S(k), are supplied to the voltage control module 14 to select the voltages to be connected to the gate, G, the source, S, and the drain, D, of the flash memory cells.

Continuing to refer to FIG. 3, when the flash memory is being programmed or erased during manufacture, the external Vpp and Vnn voltages are connected to the Vpp pad 10 and the Vnn pad 11 respectively. When Vpp and Vnn are applied externally the internal positive voltage pump 13 and internal negative voltage pump 12 are turned off, and the voltage control module gets the high positive voltage from the Vpp pad 10 and the high negative voltage from the Vnn pad 11. During erase operations when no external Vpp and Vnn voltages are available, the internal negative pump circuit 12 is used to provide Vnn to the voltage control module 14, and the internal positive pump circuit 13 is used to provide Vpp to the voltage control module 14. The selector signals S(0) to S(k) control the voltage control module to connect voltages to the gate, source and drain of each flash memory cell to select or deselect the cells for erase, programming and reading.

In FIG. 4a is shown a level shifting circuit which is a part of the voltage control module 14 that produces an output Vout to be connected to the gate of a flash memory cell for erase operations. Vout is either Vnn or Vss depending on the switch state of the circuit. Vnn is a high negative voltage used erase the flash memory cell and Vss is a chip bias voltage used to deselect the flash memory cell from erasure. Switching the input voltage, Vin, between Vdd and Vss switches the output voltage, Vout, between Vss and Vnn. The input voltage, Vin, is connected to a selector circuit 20. The selector circuit 20 comprises two P-channel transistors Q1 and Q2 with their gates connected together by an inverter circuit Inv1 and Vin connected to the gate of Q1. The selector circuit 20 drives a cross coupled pair of N-channel transistor 22 through a bias buffer circuit 21. The bias buffer circuit 21 is used to provide a means to drop some of the voltage between Vdd and Vnn and reduce potential breakdown problems. A differential circuit 23 is driven by the cross coupled circuit 22 to produce a level shifted output Vout dependent on the input voltage Vin. The N-channel transistors Q3, Q4, Q5, Q6, Q7, and Q8 are formed in a P-well biased to Vnn. The P-well is in a deep N-well biased at Vdd and residing on a P-substrate biased at Vss.

Continuing to refer to FIG. 4a, when Vin=Vss, Vdd is applied to the drain of Q5 and the gate of Q6 of a cross coupled bi-state circuit 22 through Q1 of the selector circuit 20 and Q3 of a voltage buffer circuit 21. Q6 is switched on putting Vnn on the drain of Q6 and the gates of Q5 and Q8. Transistor Q5 is switched off and Vdd is connected to the gate of Q7 which produces Vout=Vss . Transistors Q7 and Q8 form a differential circuit 23 which produces the output of the level shifter. When Vin=Vdd, Vdd is applied to the drain of Q6 and the gate of Q5 of a cross coupled bi-state circuit 22 through Q2 of the selector circuit 20 and Q3 of a voltage buffer circuit 21. Q5 is switched on putting Vnn on the drain of Q5 and the gates of Q6 and Q7. Transistor Q6 is switched off and Vdd is connected to the gate of Q8 which produces Vout=Vnn.

In FIG. 4b is shown a level shifter circuit which is a part of the voltage control module 14 that produces an output voltage Vout which is connected to the source of a flash memory cell that switches between a high positive voltage Vpp and Vdd as the input voltage Vin switches between Vdd and Vss. The circuit of FIG. 4b is similar to the circuit of FIG. 4a, except for differences in voltages and transistor types. The input voltage, Vin, is connected to a selector circuit 30. The selector circuit 30 comprises two N-channel transistors Q11 and Q12 with their gates connected together by an inverter circuit Inv2 and Vin connected to the gate of Q11. The selector circuit 30 drives a cross coupled pair of P-channel transistors 32 through a bias buffer circuit 31. The bias buffer circuit 31 is used to provide a means to drop some of the voltage between Vss and Vpp and reduce potential breakdown problems. A differential circuit 33 is driven by the cross coupled circuit 32 to produce a level shifted output Vout dependent on the input voltage Vin. The P-channel transistors Q13, Q14, Q15, Q16, Q17, and Q18 are formed in an N-well biased to Vpp. The N-well resides on a P-substrate biased at Vss.

Continuing to refer to FIG. 4b, when Vin=Vss, Vss is applied to the drain of Q16 and the gate of Q15 of a cross coupled bi-state circuit 32 through Q12 of the selector circuit 20 and Q14 of a voltage buffer circuit 31. Q15 is switched on putting Vpp on the drain of Q15 and the gates of Q16 and Q17. Transistor Q16 is switched off and Vss is connected to the gate of Q18 which produces Vout=Vpp . Transistors Q17 and Q18 form a differential circuit 33 which produces the output of the level shifter. When Vin=Vdd, Vss is applied to the drain of Q15 and the gate of Q16 of a cross coupled bi-state circuit 32 through Q11 of the selector circuit 30 and Q13 of a voltage buffer circuit 31. Q16 is switched on putting Vpp on the drain of Q16 and the gates of Q15 and Q18. Transistor Q15 is switched off and Vss is connected to the gate of Q17 which produces Vout=Vdd.

In FIG. 5 is shown a method used to apply external high negative and high positive voltages to chip pads during manufacture to erase flash memory cells. The internal high negative voltage and the internal high positive pump circuits are turned off 40. Then a high negative voltage is connected to the high negative voltage chip pad, Vnn Pad 41. A high positive voltage is connected to the high positive voltage chip pad, Vpp Pad 42. The high negative voltage is selected by the voltage control module 14 and connected to the gate of flash memory cells selected to be erased 43. The high positive voltage is selected by the voltage control module 14 and connected to the source of flash memory cells selected to be erased 44. The drain of selected flash memory cells is left floating during erase operations. The selected flash memory cell are erased by means of Fowler-Nordheim Tunneling 45.

While the invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A level shifting circuit to provide gate bias during flash memory erase, comprising: a) a cross coupled pair of N-channel transistors to provide a bistate circuit, b) a selector circuit connected to said cross coupled pair of N-channel transistors through a bias buffer, c) a differential circuit connected to said cross coupled pair of N-channel transistors, d) input to said selector circuit controlling the state of the cross coupled pair of N-channel transistors to select an output voltage from said differential circuit, e) said differential circuit providing bias to gates of flash memory cells during erase operation.
 2. The level shifting circuit of claim 1, wherein output of said differential circuit switches between a high negative voltage and a moderate positive voltage as input to said selector circuit is switched between two input voltages.
 3. The level shifting circuit of claim 1, wherein said selector circuit comprises two P-channel transistors with gates connected through an inverter circuit.
 4. The level shifting circuit of claim 1, wherein said differential circuit provides a high negative voltage to gates of flash memory cells being erased when switched into the select state by said selector circuit and provides a moderate positive voltage to gates of flash memory cells not being erased when switched into the deselect state by said selector circuit.
 5. The level shifting circuit of claim 1, wherein transistors of said bias buffer, said differential circuit and said cross coupled pair of N-channel transistors are located in a P-well inside of a deep N-well on a P-substrate.
 6. A level shifting circuit to provide source bias during flash memory erase, comprising: a) a cross coupled pair of P-channel transistors to provide a bi-state circuit, b) a selector circuit connected to said cross coupled pair of P-channel transistors through a bias buffer, c) a differential circuit connected to said cross coupled pair of P-channel transistors, d) input to said selector circuit controlling the state of the cross coupled pair of P-channel transistors to select an output voltage from said differential circuit, e) said differential circuit providing bias to sources of flash memory cells during erase operation.
 7. The level shifting circuit of claim 6, wherein output of said differential circuit switches between a first positive voltage and a second positive voltage as input to said selector circuit is switched between two input voltages.
 8. The level shifting circuit of claim 6, wherein said selector circuit comprises two N-channel transistors with gates connected through an inverter circuit.
 9. The level shifting circuit of claim 6, wherein said differential circuit provides a first positive voltage to sources of flash memory cells being erased when switched into the select state by said selector circuit and provides a second positive voltage to sources of flash memory cells not being erased when switched into the deselect state by said selector circuit.
 10. The level shifting circuit of claim 6, wherein transistors of said bias buffer, said differential circuit and said cross coupled pair of P-channel transistors are located in a N-well on a P-substrate. 